type go/types.positioner
22 uses
go/types (current package)
assignments.go#L334: var at positioner = returnStmt
assignments.go#L409: func (check *Checker) shortVarDecl(pos positioner, lhs, rhs []ast.Expr) {
call.go#L358: var at positioner = call
check.go#L42: errpos positioner // if set, identifier position of a constant with inherited initializer
check.go#L80: func (a *action) describef(pos positioner, format string, args ...any) {
check.go#L89: pos positioner
decl.go#L421: defer func(iota constant.Value, errpos positioner) {
errors.go#L195: func (check *Checker) newError(at positioner, code errorCode, soft bool, msg string) error {
errors.go#L209: func (check *Checker) newErrorf(at positioner, code errorCode, soft bool, format string, args ...any) error {
errors.go#L214: func (check *Checker) error(at positioner, code errorCode, msg string) {
errors.go#L218: func (check *Checker) errorf(at positioner, code errorCode, format string, args ...any) {
errors.go#L222: func (check *Checker) softErrorf(at positioner, code errorCode, format string, args ...any) {
errors.go#L226: func (check *Checker) invalidAST(at positioner, format string, args ...any) {
errors.go#L230: func (check *Checker) invalidArg(at positioner, code errorCode, format string, args ...any) {
errors.go#L234: func (check *Checker) invalidOp(at positioner, code errorCode, format string, args ...any) {
errors.go#L240: type positioner interface {
errors.go#L278: func spanOf(at positioner) posSpan {
expr.go#L1122: var posn positioner = x
infer.go#L32: func (check *Checker) infer(posn positioner, tparams []*TypeParam, targs []Type, params *Tuple, args []*operand) (result []Type) {
infer.go#L467: func (check *Checker) inferB(posn positioner, tparams []*TypeParam, targs []Type) (types []Type, index int) {
interface.go#L194: var at positioner = f.Type
resolver.go#L134: func (check *Checker) importPackage(at positioner, path, dir string) *Package {